package servlets;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Servlet implementation class EventStoreServlet
 */
@WebServlet(name = "EventStoreServlet", urlPatterns = "/EvenStoreServlet.do")
public class EventStoreServlet extends HttpServlet {
	private static final long serialVersionUID = 1L;
       

    public EventStoreServlet() {
        super();

    }

    protected void doGet(HttpServletRequest req, HttpServletResponse response) 
			throws ServletException, IOException {
		
		String naam = req.getParameter("naam");
		String subTitel = req.getParameter("subTitel");
		String datum = req.getParameter("datum");
//		int locatieID = Integer.parseInt(req.getParameter("locatie"));
		int programmaID = 1;
		String contactPersoon = req.getParameter("contactpersoon");
		String organisator = req.getParameter("organisator");
		System.out.println(naam + "\n"+ subTitel);
	}


}
